import request from '@/utils/request'

// 查询抵扣发票勾选抵扣申请列表
export function listDeductionapply(query) {
  return request({
    url: '/doc/deductionapply/list',
    method: 'get',
    params: query
  })
}

// 查询抵扣发票勾选抵扣申请详细
export function getDeductionapply(id) {
  return request({
    url: '/doc/deductionapply/' + id,
    method: 'get'
  })
}

// 新增抵扣发票勾选抵扣申请
export function addDeductionapply(data) {
  return request({
    url: '/doc/deductionapply',
    method: 'post',
    data: data
  })
}

// 修改抵扣发票勾选抵扣申请
export function updateDeductionapply(data) {
  return request({
    url: '/doc/deductionapply',
    method: 'put',
    data: data
  })
}

// 删除抵扣发票勾选抵扣申请
export function delDeductionapply(id) {
  return request({
    url: '/doc/deductionapply/' + id,
    method: 'delete'
  })
}
